<?php
/* @var $this SetoranController */
/* @var $model Setoran */
/* @var $form CActiveForm */
?>


<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'horizontalForm',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
        ));
?>
<fieldset>

    <div class="control-group ">
        <label class="control-label" for="Nama Pemilik"><b>Tanggal bayar</b></label>
        <div class="controls">
            <?php
            $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                'model' => $model,
                'attribute' => 'tgl_masuk',
                'language' => 'id',
                // additional javascript options for the date picker plugin
                'options' => array(
                    'showAnim' => 'fold',
                    'dateFormat' => 'yy-mm-dd',
                    'yearRange' => 'c-50:c+20',
                ),
                'htmlOptions' => array(
                    'style' => 'height:20px;'
                ),
            ));
            ?>

        </div>
    </div>

<div class="control-group ">
        <label class="control-label" for="Nama Pemilik"><b>Sampai Dengan</b></label>
        <div class="controls">
            <?php
            $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                'model' => $model,
                'attribute' => 'tgl_selesai',
                'language' => 'id',
                // additional javascript options for the date picker plugin
                'options' => array(
                    'showAnim' => 'fold',
                    'dateFormat' => 'yy-mm-dd',
                    'yearRange' => 'c-50:c+20',
                ),
                'htmlOptions' => array(
                    'style' => 'height:20px;'
                ),
            ));
            ?>

        </div>
    </div>

    <div class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Proses' : 'Cetak',
		)); ?>
</div>
    
<?php $this->endWidget(); ?>

</fieldset>